﻿@page "/"
@layout WelcomeLayout
<div class ="liquid-bg">
    <div class="content-wrapper">
        <div class="typewriter">
            <h1>
                Learn Courses With Blazor
            </h1>
        </div>
        <button class="login-btn" @onclick="NavigateToLogin">登录</button>
    </div>
</div>
   
@code {
    [Inject] NavigationManager NavigationManager { get; set; }
    void NavigateToLogin() => NavigationManager.NavigateTo("/login");
}
